package com.efounder.news.bean;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * 评论Bean
 * Created by slp on 2017/11/20.
 */

public class CommentListBean implements Serializable {
    /*
    "data":[
        {
            "comment":{
                "date":"2017-11-30 17:34:14",
                "reply_list":[

                ],
                "user_id":"78363",
                "digg_count":1,
                "user_name":"测试号",
                "parent_id":"",
                "id":"26890be9-b6ab-4ec3-a670-2a3306859248",
                "text":"测试2",
                "reply_count":0,
                "user_digg":"1"
            }
     */
    private String commentDate;
    private String commentId;
    private String comment;
    private String userId;
    /**
     * 评论积分
     */
    private String integral;
    private String parentId;
    private String userName;
    private String diggCount;
    private String replyCount;
    private String userDigg;

    public String getIntegral() {
        return integral;
    }

    public void setIntegral(String integral) {
        this.integral = integral;
    }

    public String getUserDigg() {
        return userDigg;
    }

    public void setUserDigg(String userDigg) {
        this.userDigg = userDigg;
    }

    private ArrayList<replyComment> replyList;

    public ArrayList<replyComment> getReplyList() {
        return replyList;
    }

    public void setReplyList(ArrayList<replyComment> replyList) {
        this.replyList = replyList;
    }

    public String getDiggCount() {
        return diggCount;
    }

    public void setDiggCount(String diggCount) {
        this.diggCount = diggCount;
    }

    public String getReplyCount() {
        return replyCount;
    }

    public void setReplyCount(String replyCount) {
        this.replyCount = replyCount;
    }

    public String getCommentDate() {
        return commentDate;
    }

    public void setCommentDate(String commentDate) {
        this.commentDate = commentDate;
    }

    public String getCommentId() {
        return commentId;
    }

    public void setCommentId(String commentId) {
        this.commentId = commentId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return "CommentListBean{" +
                ", commentDate='" + commentDate + '\'' +
                ", commentId='" + commentId + '\'' +
                ", comment='" + comment + '\'' +
                ", userId='" + userId + '\'' +
                ", parentId='" + parentId + '\'' +
                ", userName='" + userName + '\'' +
                '}';
    }
    /**
     * 评论中的回复列表
     * {
     "date":"2017-11-29 17:08:59",
     "user_id":"78363",
     "digg_count":0,
     "user_name":"测试号",
     "id":"0f0c4d59-926e-4282-972d-6768b1dea1c4",
     "text":"回复1"
     }
     */
    public static class replyComment implements Serializable{
        private String date;
        private String userId;
        private String diggCount;
        private String userName;
        private String id;
        private String text;

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getDiggCount() {
            return diggCount;
        }

        public void setDiggCount(String diggCount) {
            this.diggCount = diggCount;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }
    }
}
